//
//  CreditNetHelper.h
//

#import <Foundation/Foundation.h>
#import "AFHTTPSessionManager.h"

typedef void (^HttpSuccessBlock) (id response);
typedef void (^HttpFailureBlock) (NSError *error);

@interface CreditNetHelper : NSObject

+ (void)configHttpManager;

+ (NSURLSessionDataTask *)getWithPath:(NSString *)path params:(NSDictionary *)params success:(HttpSuccessBlock)success failure:(HttpFailureBlock)failure;

+ (NSURLSessionDataTask *)postWithPath:(NSString *)path params:(NSDictionary *)params success:(HttpSuccessBlock)success failure:(HttpFailureBlock)failure;


+ (void)moniterNetworking;

@end
